]> dgit.raspbian.org Git - gnome-shell.git/commit
st-theme-node: Add method to invalidate drawing state
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Sep 2012 19:44:21 +0000 (21:44 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Sep 2012 20:03:05 +0000 (22:03 +0200)
commitc4c470c1f39bc6bf0500d80676e21161d4da146d
tree0a5d5416375b527bb7e18af420aaf7fe521e6140
parentdc9ad8df8074cac9181a00699188809d05737d8e
st-theme-node: Add method to invalidate drawing state

StThemeNode caches its resources aggressively to keep the required
work on paint to a minimum - right now, resources are only recreated
on allocation changes.
In order to update the background-image property correctly when the
underlying file changes, resources need to be recreated without a
size change, so add an explicit method for that.

https://bugzilla.gnome.org/show_bug.cgi?id=679268
src/st/st-theme-node-drawing.c
src/st/st-theme-node.h